#ifndef MAIN_H
#define MAIN_H

#include "SimpleRobot.h"
//#include "GlobalData.h"

#if 0
#include <Math.h>

#include "Encoder.h"
#include "AnalogChannel.h"
#include "Talon.h"
#include "Solenoid.h"

#include "Joystick.h"
#include "Gyro.h"
#endif

class Main : public SimpleRobot 
{

public:
	//Constructor
	Main();
	//Destructor
	~Main();
	
	//The following three functions are called by SimpleRobot
	void Autonomous();
	void Disabled();
	void OperatorControl();
	
private:
	//Autonomous for getting frisbees from mid-field
	void MidAutonomous();
	//Seven Frisbee Autonomous
	void SevenAutonomous();
	
	//Three stages of main
	void Input();
	void Process();
	void Output();
	
#if 0
	// Driver Control Inputs
	Joystick* m_joystickDriver1;
	Joystick* m_joystickDriver2;
	Joystick* m_joystickOperator1;
	Joystick* m_joystickOperator2;
	
	
	// Sensor Inputs
	Encoder* m_encoderLeft;
	Encoder* m_encoderRight;
	Gyro* m_gyro;
	AnalogChannel* m_launcherEMF;
	
	// Drive train
	Talon* m_DTLeftA;
	Talon* m_DTLeftB;
	Talon* m_DTRightA;
	Talon* m_DTRightB;
	// Hang Manipulators
	Solenoid* m_hangA;
	Solenoid* m_hangB;
	// Spatula
	Solenoid* m_spatula;
	// Hopper
	Solenoid* m_hopperContainer;
	Solenoid* m_hopperDisc;
	Solenoid* m_hopperKicker;
	// Launcher
	Talon* m_launcherLaunch;
	Talon* m_launcherTilt;
	
	
	GlobalData* m_globals;
#endif
};
#endif
